#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2022/2/15 10:40
# @Author  : ldh
from basic.UIParent import UIParent
from commen.page.awz.awz_index_page import awz_index_page


class awz_index(UIParent) :

    @classmethod
    def test1_userauth(cls) :
        '''用户授权'''
        status = awz_index_page.ifauth()
        if status == False :
            awz_index_page.sure_auth()
        else :
            print("用户已授权")

    @classmethod
    def test2_imageview(cls) :
        '''启动引导页'''
        status = awz_index_page.ifimageView()
        if status == True :
            awz_index_page.close_imageView()
        else :
            print("启动引导页已关闭")

    @classmethod
    def test3_guide(cls) :
        '''首页蒙层'''
        status = awz_index_page.ifguide()
        if status == True :
            awz_index_page.close_guide()
        else :
            print("首页蒙层已关闭")
